package com.example.back.service;

import com.example.back.dto.req.DoDisableReq;
import com.example.back.dto.req.DoctorListReq;
import com.example.back.dto.req.DoctorReq;
import com.example.back.dto.resp.DockerInfoRsp;
import com.example.back.dto.resp.DoctorListRsp;
import com.github.pagehelper.PageInfo;
import org.springframework.web.multipart.MultipartFile;

import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import java.util.List;

/**
 * @Author wxy
 * @Date 2021/1/14 13:38
 * @Version 1.0
 */
public interface DoctorService {
    /**
     * 医生列表
     */
    PageInfo<DoctorListRsp> List(DoctorListReq doctorListReq);

    /**
     * 启用、禁用
     */
    Object DoDisable(DoDisableReq doDisableReq);

    /**
     * 详情
     */
    DockerInfoRsp Info(DoDisableReq doDisableReq);

    /**
     * 上传文件
     */
    HashMap<String, Object> UpLoad(MultipartFile multipartFile);

    /**
     * 保存
     */
    Object Save(DoctorReq doctorReq);

    List<Map<String, List<Map<String, Object>>>> PlantList(long DCID, Date Month);

    Boolean DocPlantDel(long DCID, byte timeType, Date Day);

    Boolean DocPlantEdit(List<Long> dcIdList,List<Byte> timeTypeList,Boolean isWeekEnd,Date beg,Date end, int countOrder);
}
